import request from '../utils/request'

// 评论列表
// export function getEval(data) {
//   return request({
//     url: '/applet/api/ord/qryEval',
//     method: 'POST',
// 	data: data
//   })
// }

// 获取教练信息
export function getMySpInfo(data) {
  return request({
    url: '/applet/api/spp/getMySpInfo',
    method: 'POST',
	data: data
  })
}

// 入驻教练 修改资料
export function applySp(data) {
  return request({
    url: '/applet/api/spp/applySp',
    method: 'POST',
	data: data
  })
}

// 核销
export function spVerifyOrd(data) {
  return request({
    url: '/applet/api/spp/spVerifyOrd',
    method: 'POST',
	data: data
  })
}

// 核销列表
export function spVerifyList(data) {
  return request({
    url: '/applet/api/spp/qryWorkList',
    method: 'POST',
	data: data
  })
}

// 核销明细
export function spVerifyOrdList(data) {
  return request({
    url: '/applet/api/spp/spVerifyOrdList',
    method: 'POST',
	data: data
  })
}

// 我的评价
export function qrySpEval(data) {
  return request({
    url: '/applet/api/spp/qrySpEval',
    method: 'POST',
	data: data
  })
}

// 我的钱包
export function getSpCurrentBalance(data) {
  return request({
    url: '/applet/api/spp/getSpCurrentBalance',
    method: 'POST',
	data: data
  })
}

// 编辑用户信息
export function editUserInfo(data) {
  return request({
    url: '/applet/api/tyUser/editInfo',
    method: 'POST',
	data: data
  })
}

// 查询排班
export function getSpWorkList(data) {
  return request({
    url: '/applet/api/spp/qrySpWorkList',
    method: 'POST',
	data: data
  })
}

// 保存排班
export function saveSpWork(data) {
  return request({
    url: '/applet/api/spp/saveSpWork',
    method: 'POST',
	data: data
  })
}

// 保存排班时间
export function saveSpWorkTime(data) {
  return request({
    url: '/applet/api/spp/saveSpWorkTime',
    method: 'POST',
	data: data
  })
}

// 删除排班时间
export function delSpWorkTime(data) {
  return request({
    url: '/applet/api/spp/delSpWorkTime',
    method: 'POST',
	data: data
  })
}

// 删除排班
export function delSpWork(data) {
  return request({
    url: '/applet/api/spp/delSpWork',
    method: 'POST',
	data: data
  })
}